package entity;

public class Collection {
	private Integer collection_id;
	private String product_name;
	private double price;
	private String pic_url;
	private Integer user_id;
	private Integer product_id;//商品id
	public String getProduct_name() {
		return product_name;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getPic_url() {
		return pic_url;
	}
	public void setPic_url(String pic_url) {
		this.pic_url = pic_url;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public Integer getCollection_id() {
		return collection_id;
	}
	public void setCollection_id(Integer collection_id) {
		this.collection_id = collection_id;
	}
	
	public Integer getproduct_id() {
		return product_id;
	}
	public void setproduct_id(Integer model_id) {
		this.product_id = model_id;
	}

	public Collection(String product_name, double price, String pic_url, Integer user_id, Integer product_id) {
		super();
		this.product_name = product_name;
		this.price = price;
		this.pic_url = pic_url;
		this.user_id = user_id;
		this.product_id = product_id;
	}
	public Collection() {
		super();
	}
	@Override
	public String toString() {
		return "Collection [collection_id=" + collection_id + ", product_name=" + product_name + ", price=" + price
				+ ", pic_url=" + pic_url + ", user_id=" + user_id + ", model_id=" + product_id + "]";
	}
	
}
